package com.sqbang.dbcompare.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 创建对比报告请求参数
 * @author suqiongbang
 * @date 2020/12/28 11:15
 */
@Data
public class DbInfoRequest {

    @NotNull(message = "标准库驱动包不能为空")
    private String standardDriver;

    @NotNull(message = "标准库地址不能为空")
    private String standardUrl;

    @NotNull(message = "标准库用户名不能为空")
    private String standardUserName;

    @NotNull(message = "标准库用户密码不能为空")
    private String standardPassword;

    @NotNull(message = "对比库驱动包不能为空")
    private String compareDriver;

    @NotNull(message = "对比库用户名不能为空")
    private String compareUrl;

    @NotNull(message = "对比库用户名不能为空")
    private String compareUserName;

    @NotNull(message = "对比库用户密码不能为空")
    private String comparePassword;
}
